home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / modem / dlrk301.zip / DLRK301.DOC < prev    next >
Text File  |  1994-07-23  |  22KB  |  447 lines

  1. DOWNLOAD RECORDKEEPER version 3.01
  2. Written by Allen Brown
  3. Compatible with Telemate 4.12 and other versions with the same usage log format
  4.  
  5.  
  6. CONTENTS OF THIS DOCUMENT:
  7. --------------------------
  8. WELCOME
  9. ZIP FILE CONTENTS
  10. DATA FILE AND SETUP FILE CONTENTS
  11. PROGRAM OPERATION
  12. * OPTION ONE:   UPDATE DATA WITH TELEMATE USAGE LOG
  13. * OPTION TWO:   DISPLAYING THE DATA
  14. * OPTION THREE: CONFIGURATION SETUP
  15. * OPTION FOUR:  MANUAL DATA ENTRY
  16. * OPTION FIVE:  FILENAME SEARCH
  17. * OPTION SIX:   PRINTING THE DATA
  18. HELPFUL HINTS
  19. IF DOWNLOAD RECORDKEEPER WON'T WORK
  20. THE ORIGIN OF DOWNLOAD RECORDKEEPER
  21. HOW TO REGISTER YOUR COPY OR CONTACT THE AUTHOR
  22. DLRK FOR MODEM PROGRAMS OTHER THAN TELEMATE
  23. ACKNOWLEDGMENTS
  24. THE END
  25.  
  26.  
  27. WELCOME to Download Recordkeeper version 3.01.  If you use Telemate
  28. as your modem program, DLRK is about to make keeping track of your
  29. downloads a very simple and convenient matter.  If you'd like a
  30. version of DLRK that's compatible with some other modem program,
  31. see near the end of this document for the section called DLRK FOR
  32. MODEM PROGRAMS OTHER THAN TELEMATE.
  33.  
  34. DLRK reads the Telemate Usage Log, pulls out the names of files you've
  35. downloaded, and stores them on disk in alphabetical order and extension
  36. order, if you choose.  The list(s) can easily be displayed or printed,
  37. making for easy reference while you're on-line.  And, DLRK will not alter
  38. your Telemate Usage Log in any way.
  39.  
  40. DLRK 3.01 is different from the 2.x series in that v3.01 is compatible
  41. with Telemate whereas the 2.x versions are compatible with Telix.  DLRK
  42. 3.01 has all the features found in the 2.x series, at least up through
  43. version 2.51, and DLRK 3.01 is compatible with the data files from all
  44. 2.x versions, at least up through 2.51.
  45.  
  46. DLRK 3.01 is operationally no different from v3.0.  However, unknown
  47. to me, v3.0 had an upper limit on the number of filenames you could
  48. add to your data files, due to a memory allocation function of the
  49. program.  Version 3.0 would allow no more than 5461 filenames.  I
  50. rewrote the code to increase the memory allocation to its maximum
  51. for a 12-byte variable, which is 10922 elements.  But since DLRK's
  52. display and print features will only handle numbers up to four digits
  53. long, I again rewrote the code to keep the data file capacity from
  54. being set higher than 9999.  If anyone ever records that many, I'd
  55. like to know about it.
  56.  
  57. This program is shareware.  See the end of this file for information
  58. on how to register.  By the way, your unregistered copy of DLRK is not
  59. crippled or diminished in any way.  I prefer to use the honor system
  60. as opposed to the coercion system.
  61.  
  62.  
  63. ZIP FILE CONTENTS
  64. The archive DLRK301.ZIP should contain the following seven files:
  65.  
  66. DLRK.EXE       <-- the program
  67. ALPHA.DNL      <-- alphabetical-sort data file
  68. EXTEN.DNL      <-- extension-sort data file
  69. ALPHAPRN.DNL   <-- a sample file produced by the print feature
  70. EXTENPRN.DNL   <-- another sample file from the print feature
  71. SETUP.DNL      <-- program's default configuration
  72. DLRK301.DOC    <-- the file you're now reading
  73.  
  74.  
  75. DATA FILE AND SETUP FILE CONTENTS
  76. The data files ALPHA.DNL and EXTEN.DNL should both contain only
  77. the following five records when you first receive them (not
  78. including the arrows and what follows the arrows):
  79.  
  80. Download Recordkeeper v3.01   <-- program and version identifier
  81. 0                             <-- date of last record
  82. 0                             <-- time of last record
  83. 1                             <-- number of downloads on record
  84. DLRK301.ZIP                   <-- download(s) on record
  85.  
  86.  
  87. And, SETUP.DNL should initially contain the following eight records:
  88.  
  89. TM.USE       <-- name of your Telemate Usage Log
  90. C:\TELEMATE  <-- directory containing Telemate Usage Log
  91. 700          <-- current maximum records per data file
  92. 0            <-- code for filename display format
  93. ENABLED      <-- status of sort-by-extension feature
  94. YES          <-- back-up data files before update?
  95. no           <-- ask for new back-up name everytime?
  96. 3            <-- number of characters to match during file search
  97.  
  98.  
  99. PROGRAM OPERATION
  100. Running the program is very easy.  You might decide to create a sub-
  101. directory for DLRK and all its data files.  The program does not *have*
  102. to have its own directory, but DLRK'S DATA FILES MUST BE IN THE CURRENT
  103. DIRECTORY WHEN YOU RUN THE PROGRAM.  When you first run DLRK, choose
  104. Option 3 from the Main Menu to configure the setup for your system, or
  105. the program will use the default configuration in SETUP.DNL, which might
  106. or might not be right for you.
  107.  
  108. The Main Menu presents seven options.
  109.  
  110. * MAIN MENU OPTION ONE: UPDATE DATA WITH TELEMATE USAGE LOG
  111. With this option, DLRK extracts the filenames of your downloads from
  112. the Telemate Usage Log, adds them to ALPHA.DNL, and sorts the whole list
  113. alphabetically.  Then the program updates the sorted-by-extension list
  114. contained in EXTEN.DNL, provided this feature is enabled.  The old data
  115. file(s) will be backed-up if you choose the back-up feature.
  116.  
  117. DLRK also allows you to update your data with the Telemate Usage Log by
  118. way of a command line switch, as well as from the main menu.  If you
  119. execute the program by entering DLRK /U from the DOS prompt, DLRK
  120. will perform the data update and exit the program automatically, with
  121. no other input necessary from the user.  This function is valuable if
  122. you wish to eliminate keystrokes by setting up a batch file to run
  123. Telemate and DLRK's automatic update consecutively.
  124.  
  125.  
  126. * MAIN MENU OPTION TWO: DISPLAYING THE DATA
  127. This option reads ALPHA.DNL from disk and displays it to your screen,
  128. 80 filenames at a time.  It will also display EXTEN.DNL if you have it
  129. enabled.  You can print small sections of your data by displaying them
  130. on the screen and using the <Print Screen> key.  To print the entire
  131. file(s), see MAIN MENU OPTION SIX below.
  132.  
  133.  
  134. * MAIN MENU OPTION THREE: CONFIGURATION SETUP
  135. This option presents a menu of seven choices.
  136.  
  137.    (1) This choice asks for the name and location of your Telemate
  138. Usage Log.  TM.USE is the default name for both Download Recordkeeper
  139. and for Telemate itself.
  140.  
  141.    IMPORTANT: You should make sure that your copy of Telemate is actually
  142. maintaining a usage log.  See the Telemate documentation or help menu for
  143. information on how to configure Telemate to maintain a usage log.
  144.  
  145.    (2) This choice lets you change the capacity of your data file(s).
  146. When I first began writing DLRK, this feature was valuable since the
  147. filename variable array would use up more RAM than my system could
  148. allocate if the capacity were set too high.  So, I decided to let
  149. users set the capacity themselves based on how much they needed and
  150. how much their own computers could handle.  However, DLRK manages
  151. memory much better now than it did back then, so unless you're using
  152. an ancient computer, you're not going to run out of memory.  As far
  153. as I can tell, the most RAM Microsoft QuickBASIC 4.5 will allocate to
  154. a variable array is 128 kilobytes, which translates to 10922 elements
  155. in an array dimensioned at a length of 12 characters per element, so
  156. 10922 is the absolute capacity, to the extent of my knowledge.  But,
  157. I've programmed DLRK to accept a capacity of no more than 9999, since
  158. the display and print features won't handle numbers of more than four
  159. digits anyway.  If you run out of room in your data file(s), you'll
  160. need to go through and delete unnecessary entries with an ASCII text
  161. editor, or write your own program using a language which will allocate
  162. more memory to string variable arrays.
  163.  
  164.    (3) With this choice you either enable or disable the sort-by-
  165. extension feature.
  166.  
  167.    (4) This choice will toggle between backing-up or not backing-up
  168. your old data file(s) as you update the data.
  169.  
  170.    (5) You use this to choose whether to display the filenames with
  171. dots, such as FILE.ZIP, or in 12-column format, such as the way the
  172. filenames appear when you display a directory in DOS.
  173.  
  174.    (6) This choice lets you specify up to ten filename restrictions
  175. you want DLRK to observe when it updates the data.  For instance, you
  176. might not want to record your mail packet downloads, so you could tell
  177. DLRK to ignore all filenames with the QWK extension.  Or if you want
  178. the program to record certain extensions only, you can specify which
  179. those should be.
  180.  
  181.    (7) Save configuration.  This choice will write a new SETUP.DNL
  182. file and return you to the main menu.
  183.  
  184.  
  185. * MAIN MENU OPTION FOUR: MANUAL DATA ENTRY
  186. This option will allow you to input filenames into the data file(s)
  187. that may not be in the Telemate Usage Log.  You might want to use this
  188. option at some point if you've downloaded files in the past that are
  189. not denoted in any usage log you still have.
  190.  
  191.  
  192. * MAIN MENU OPTION FIVE: FILENAME SEARCH
  193. This option allows the user to search ALPHA.DNL for specified filenames.
  194. When you input a filename, the program will look for that specific name,
  195. plus any other filenames that begin with the same characters, up to a
  196. range which you dictate.  Or, you can use the asterisk for a wildcard
  197. character.
  198.  
  199.  
  200. * MAIN MENU OPTION SIX: PRINT DATA
  201. Choose this option and you'll be asked which of your data files to
  202. print, and whether to send the output to both the printer and to disk,
  203. or to disk only.  Output will be sent to disk in either case.  This is
  204. done in case you wish to print the file later from DOS after you finish
  205. with the program.
  206.  
  207. The output file will be named either ALPHAPRN.DNL or EXTENPRN.DNL.  Any
  208. pre-existing file of the same name will be backed-up with the BAK exten-
  209. sion if you choose the back-up feature.
  210.  
  211. In case you're operating in a LAN or have access only to a PostScript
  212. printer, and are thus unable to send ASCII text directly to LPT1, then
  213. you have two options for printing your data files.  (1) The first is
  214. to use the print function and output to disk only.  Now read the output
  215. file into your word processor.  If you try this, be sure to use Courier
  216. or some other monospaced font at a maximum of 10 characters per inch,
  217. or else your printout will look screwy.  Also, set your margins at 0 or
  218. near 0.  You'll have to experiment with the number of blank lines between
  219. each page to find what's right for your system.  (2) Your other option
  220. is to read one of the data files (ALPHA.DNL or EXTEN.DNL) into your word
  221. processor and use the word processor's column function to arrange the
  222. filenames on the page as you wish them to appear.  Each of these options
  223. has advantages and disadvantages which you'll discover if you try them.
  224.  
  225.  
  226. * OPTION SEVEN: QUIT THE PROGRAM
  227. Actually, you don't have to hit the 7 key to exit.  Any character other
  228. than 1 through 6 will exit DLRK.
  229.  
  230.  
  231. HELPFUL HINTS
  232. Telemate usage logs can become large in a short amount of time.  To
  233. keep from having to sort through every download in the log everytime
  234. you update the data, Download Recordkeeper keeps track of the date
  235. and time of the most recent addition to its data file(s), and will
  236. only analyze log entries made after that point.  So, an internal clock
  237. or accurate date and time entries at start-up are necessary for the
  238. program to operate properly.
  239.  
  240. It's a good idea to either delete or rename your Telemate Usage Log when
  241. it becomes sizable.  I start a new usage log at the beginning of each
  242. month.  If you want to keep your old usage logs, just rename the active
  243. log periodically and let Telemate start a new usage log.  The smaller the
  244. usage log, the less searching the program must do before it begins the
  245. actual work.
  246.  
  247. Remember that DLRK will only register downloads which were acquired
  248. *after* your most recent update.  So, if you plan to update your data
  249. file(s) from old usage logs you've kept from the past, you should start
  250. with the oldest usage log and work your way forward chronologically.  If
  251. you've already updated from your current usage log and now you want to go
  252. back and pull filenames from old usage logs, use an ASCII text editor
  253. to change the second and third records in ALPHA.DNL and EXTEN.DNL to 0.
  254.  
  255. If you use a version of Telemate other than v4.12, its usage log will be
  256. compatible with DLRK only if it uses the same format as Telemate 4.12.
  257. See IF DOWNLOAD RECORDKEEPER WON'T WORK below for the proper format.
  258.  
  259. You might want to keep a hard copy of one of the data files at your
  260. computer so you can refer to it when you decide to download new files.
  261. The list(s) should make it easy to find a filename.  Or, you can always
  262. drop to the DOS shell from Telemate, and then run DLRK's Filename Search
  263. feature while you're on-line.
  264.  
  265. There may come a time when you want to delete certain filenames from
  266. your data file(s).  If so, just use a standard ASCII text editor and
  267. delete the filenames in question.  Just don't delete or edit any data
  268. in the first three lines.  The list of filenames begins on line five.
  269. Also, you don't have to worry about editing the fourth line, which
  270. contains the number of filenames in the data file(s).  DLRK will always
  271. count how many filenames there actually are, no matter what the fourth
  272. line indicates.  Finally, be sure to save your data file(s) in ASCII
  273. text format.
  274.  
  275. ONE FINAL HINT: No matter how you use it, DLRK will not do you much good
  276. unless you keep your data file(s) updated.
  277.  
  278.  
  279. IF DOWNLOAD RECORDKEEPER WON'T WORK
  280. > First, make sure that the data files (ALPHA.DNL, EXTEN.DNL, SETUP.DNL,
  281.   ALPHAPRN.DNL, and EXTENPRN.DNL) are all in the current directory when
  282.   you run DLRK.
  283.  
  284. > Next, make sure that your copy of Telemate is actually maintaining a
  285.   usage log.  See your Telemate manual or help menu for information on
  286.   configuring Telemate to maintain a usage log.
  287.  
  288. > Next, make sure you have configured the program setup to match your
  289.   system setup (Option 3 from the Main Menu), especially with regard to
  290.   the name and path for the Telemate Usage Log.  See MAIN MENU OPTION
  291.   THREE (1) above for more information.
  292.  
  293. > Make sure that the version of Telemate you're using keeps a usage log
  294.   in the format of the following example:
  295.  
  296. 17:36:20 10-13-92  Begin session
  297. 17:36:20 10-13-92  Online
  298. 17:36:20 10-13-92  Connect to BOB'S BBS
  299. 17:41:46 10-13-92  Receive-Z FILE1.ZIP (93K) success, transfer time 00:00:51
  300. 17:44:10 10-13-92  Receive-Z FILE2.ZIP (270K) success, transfer time 00:02:29
  301. 17:49:55 10-13-92  Send-Z DLRK301.ZIP (74K) success, transfer time 00:00:45
  302. 17:55:33 10-13-92  Offline
  303. 17:55:39 10-13-92  End session
  304.  
  305.   Your Telemate Usage Log should be in the above format.  Note the HH:MM:SS
  306.   (military) arrangement of the time and the MM-DD-YY arrangement of the
  307.   date.  Also note one space between the time and the date, and two spaces
  308.   between the date and the log notation.  The usage log MUST be in this
  309.   format for Download Recordkeeper to extract data from it properly.
  310.  
  311. > If DLRK won't pull new download filenames from your usage log, even
  312.   though you know new filenames are there, check the 2nd and 3rd records
  313.   of your data file(s) against the most recent download dates in the usage
  314.   log.  These 2nd and 3rd records contain the date and time, respectively,
  315.   of the most recent download DLRK has recorded.  They should contain
  316.   something like 920818 and 131026, which translate to 92-08-18 (the date)
  317.   and 13:10:26 (the time).  (The 3rd record could contain something like
  318.   62015, which would translate to 6:20:15 a.m.  Any time notation before
  319.   10:00 a.m. will have fewer than the normal six digits in its record
  320.   length.)  Now, the program will only extract downloads from the usage
  321.   log with a date/time that's LATER than the date/time of your most
  322.   recent update.  DLRK will ignore any log entry dated before the date/
  323.   time of your most recent update
  324.  
  325.   So, if you need DLRK to pull downloads dated before the date/time
  326.   of your most recent update, use an ASCII text editor to change the
  327.   2nd and 3rd records in your data file(s) to a date/time that's before
  328.   the date/time of the log entries in question.  Be sure to keep the
  329.   2nd and 3rd records in the YYMMDD and HHMMSS form (no hyphens or
  330.   colons).  Or, simply set both the 2nd and 3rd records to 0 in order
  331.   to start at the very beginning.  To avoid this trouble, keep your
  332.   internal clock accurate, or be sure to input accurate dates and times
  333.   at start-up.  Or if you're trying to pull downloads from several dif-
  334.   ferent usage logs, always update from the oldest log first.
  335.  
  336. > If you're reading this on or after January 1, 2000, and you were using
  337.   DLRK before the turn of the century, then use an ASCII text editor
  338.   to change both the 2nd and 3rd records of your data files to 0 for
  339.   your first update *after* 2000 starts.  Otherwise, DLRK won't pull
  340.   any filenames from your Telemate Usage Log which were acquired after
  341.   the year 2000 started.  If you read the previous paragraph, you can
  342.   figure out the reason.  (However, I kind of doubt that anyone will
  343.   still be using the same hardware, operating system, and software in
  344.   the year 2000 that we're now using in 1993.  I'm just trying to cover
  345.   all the bases.)
  346.  
  347. > If you've taken care of all the above conditions, and the program
  348.   still won't work, you might have found a bug that escaped my scrutiny.
  349.   Make note of the circumstances surrounding the failure, and the error
  350.   code displayed at the failure, and contact me using my CIS account, my
  351.   Internet account, my Prodigy account, or my mailing address, all denoted
  352.   near the end of this document.  Please include as many details about the
  353.   problem as possible.
  354.   
  355.  
  356. THE ORIGIN OF DOWNLOAD RECORDKEEPER
  357. I decided to write the program after I began to download files from
  358. CompuServe and various bulletin board systems.  After I had downloaded
  359. a certain number of files (some of which I kept, and some of which I
  360. discarded), it became more and more difficult to remember right off
  361. the top of my head which files I had already downloaded.  Specifically,
  362. I would be looking through a BBS's list of downloadable files, while
  363. on-line, thinking something like, "Hmmm, that file sounds pretty good.
  364. I think I'll download it," only to discover later that I had already
  365. downloaded the file previously.  Naturally this was pretty frustrating,
  366. especially if I wasted long-distance time or added a debit to my
  367. upload/download ratio by needlessly downloading the same file twice.
  368. Surely I'm not the only one to suffer from such an experience.
  369.  
  370. Of course, many communication programs will allow users to display
  371. a directory of their own files while on-line, and many times I used
  372. this option to try to keep from performing repeat downloads.  However,
  373. this course of action can quickly become tiresome if you have to search
  374. through multiple directories.  Furthermore, it is of no use at all if
  375. you have already deleted the first download from your hard drive.
  376.  
  377. So, after a number of wasteful repeat downloads, I decided to write
  378. Download Recordkeeper.  I think it's comprehensive, effective, and
  379. easy to use.
  380.  
  381. If you have trouble with the program you can't fix, drop me some e-mail
  382. or send me a letter as denoted below.  I've built in some error-trapping
  383. routines to handle the most likely errors you might encounter, but I
  384. realize that some could fall through the cracks.  If an error pops up
  385. that Download Recordkeeper isn't programmed to handle, it'll be called
  386. a "fatal error."  Make note of the circumstances in as much detail as
  387. you can, let me know about the problem, and I'll fix it.
  388.  
  389.  
  390. HOW TO REGISTER YOUR COPY OR CONTACT THE AUTHOR
  391. Download Recordkeeper was written by Allen Brown.
  392. CIS 72760,667
  393. Internet 72760.667@compuserve.com
  394. Prodigy MMMJ81A
  395. All rights reserved.
  396.  
  397. This modest program is SHAREWARE.  If you keep it and use it, you are
  398. obligated to send $5.00 (quite a reasonable price, I believe), or what-
  399. ever you think the program is worth, to:
  400.  
  401. Allen Brown
  402. P.O. Box 681
  403. Gulf Shores, Alabama  36547
  404. USA
  405.  
  406. On the other hand, if you have not registered the program, you can
  407. still contact me about it.  I'm willing to discuss DLRK with you,
  408. whether you've paid for the program or not.
  409.  
  410. This program is presented "as is."  The author will not assume
  411. responsibility for any data mishaps (not that any disasters could
  412. happen anyway).  Feel free to send comments, suggestions, or bug
  413. reports.  Registered users who donate at least $5.00 will receive
  414. notice of program updates by providing me with their CompuServe,
  415. Internet, and/or Prodigy user ID's.
  416.  
  417. Upload DLRK301.ZIP to any BBS you like, as long as you include all
  418. the original files.
  419.  
  420.  
  421. DOWNLOAD RECORDKEEPER FOR MODEM PROGRAMS OTHER THAN TELEMATE
  422. If you would like a version of DLRK for some other modem program,
  423. drop me a line and I'll see what I can do.  Include a sample usage
  424. log (computer file, not hard copy) of the modem program in question,
  425. containing various examples of download notation.  As of this writing,
  426. I already have another version of DLRK for Telix.  Theoretically, DLRK
  427. could be modified for any program which records downloads in a usage log.
  428.  
  429.  
  430. ACKNOWLEDGMENTS
  431. Many thanks to Bob O'Lary for his specific advice and for his general
  432. words of wisdom.  (Call Bob's BBS at 904-656-6178, 8-N-1.)
  433.  
  434. Telemate Copyright (C) 1988-94 White River Software
  435.  
  436. Download Recordkeeper was written with MS QuickBASIC 4.50 on a 386/33
  437. machine operating under DR DOS 6.0.  I hope the program proves useful
  438. to you.  It works great for me.
  439.  
  440. Thanks for supporting the shareware concept!  Only you can make
  441. shareware work.  If you use DLRK and Telemate, please give serious
  442. consideration to registering them.  Upgrades and advances are made
  443. possible only by users who honor their shareware obligations.
  444.  
  445.  
  446. THE END
  447.